package com.itheima.health.service;

public interface ValicadeCodeService {
    /**
     * 发送短信
     * @param businessType 业务类型
     * @param phone 手机号

     */
    void sendValidateCode(String businessType,String phone);

    /**
     *校验短信验证码
     * @param validateCodeType
     * @param phone
     * @param code
     */
    boolean checkValidateCode(String validateCodeType,String phone,String code);
}
